package com.chinamsp.codegen;

import com.chinamsp.codegen.convert.BaseCodeGenProcessor;
import com.chinamsp.codegen.convert.db.DbCodeGenProcessor;

/**
 * 处理器映射
 * @author shifenghu
 *
 */
public enum CodeGenProcessorMapping {

	/**
	 * db 服务
	 */
	DB(DbCodeGenProcessor.class)
	
	
	;
	
	
	/**
	 * 处理器
	 */
	private Class<? extends BaseCodeGenProcessor> processorClass;

	
	private CodeGenProcessorMapping(Class<? extends BaseCodeGenProcessor> processorClass) {
		this.processorClass = processorClass;
	}
	
	/**
	 * 获取  处理器 class
	 * @return
	 */
	public Class<? extends BaseCodeGenProcessor> getProcessorClass() {
		return processorClass;
	}
	
	
	
}
